﻿@using Nightlife.Models
@model List<Checkin>

@if (Model == null || Model.Count == 0)
{
<li>
    Sorry, there is nothing new on your feed, add a few @Html.ActionLink("Spots", "Index", "Spot") to your favorites or @Html.ActionLink("find your friends on Nightlife", "Index", "User") to see stuff on your feed
</li>
} else {
    foreach (Checkin checkin in Model) {
    <li>
        @Html.ActionLink(checkin.User.Username, "View", "User", new{ id= checkin.User.ID }, null) checked in at @Html.ActionLink(checkin.Spot.Name, "View", "Spot", new { id=checkin.Spot.ID }, null)
    </li>
    }
}